package com.geotmt.billingcenter.common.vo.params;

import com.geotmt.billingcenter.common.entry.StairRule;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Description 策略工厂模式的Vo
 * @Author      yanghanwei
 * @Mail        yanghanwei@geotmt.com
 * @Date        2019/3/25 12:30
 * @Version     v1
 **/
@Data
public class RuleVo {

    /**
     * id
     */
    private Integer id;

    /**
     * rId
     */
    private Integer rId;

    /**
     * 收费标准 1.查询计费 2.查得计费 3.查询阶梯计费 4.查得阶梯计费
     */
    private Integer feeFlag;

    /**
     * 用户id
     */
    private Integer cuserId;

    /**
     * 接口id
     */
    private Integer interfaceId;

    /**
     * 单价
     */
    private Double price;

    /**
     * 折扣
     */
    private Double discount;

    /**
     * 阶梯计费周期
     */
    private Integer stairCycle;

    /**
     * 其他计费规则详情
     */
    private List<StairRule> stairRuleList;

    /**
     * 阶梯计费 生效时间
     */
    private Date stairStartTime;

    /**
     * 查询量
     */
    private Integer countQuery;

    /**
     * 查得量
     */
    private Integer countGet;

    /**
     * 计费的量
     */
    private Integer countCharging;

    /**
     * consume / cost
     */
    private String type;

    /**
     * his / curr
     */
    private String sign;

}
